<template>
<div id="con">
<div class="top">
    <img src="di.png" alt="" class="ditu">沣河森林公园<img src="di2.png" alt="" class="dituz">
    </div>
<div class="search">
    <!-- <input type="text" placeholder="请输入商家或者商品名称" class="inp"></div> -->
</div>
</div>
</template>

<script>
export default {

}
</script>


<style lang="scss" scoped>
// 引入库文件

.ditu{
    width: 15px;
    height: 15px;
    display: inline-block;
    margin-right: 5px;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}
.top{
    font-size: 16px;
    color: #fff;
    background: #ffd34e;
    line-height: 30px;
        align-items: center;
    max-width: 200px;
    transition: 500ms;
    display: flex;
    
	height: 60px;
	line-height: 60px;
	text-align: center;
	color: #fff;
	display: flex;
}
.dituz{
        width: 10px;
    height: 10px;
    display: inline-block;
    margin-left: 2px;
    margin-right: 20px;
}
#con{
    width:100%;
    position: fixed;
height: 50px;
padding: 0 10px;
 

    top: 0;
    display: flex;

}
.search {
	background: #fff;
	padding: 10px 20px;
	display: flex;
	input {
		font-size: 14px;
		background: #efefef;
		border: none;
		outline: none;
		padding: 10px 20px;
		border-radius: 18px;
		flex: 1;
	}
}

// input{
//     width: 100%;
//     position: relative;
//     border: none;
//     height: 30px;
//     padding-left: 30px;
//     box-sizing: border-box;
//     border-radius: 100px;
//     overflow: hidden;
//     text-overflow: ellipsis;
//    margin: 0 5px 0 -13px;
//     font-size: 14px;
//     opacity: 1;
//           background: #f6f6f6;
//     position: absolute;
//     left: 0;
//     top: 21%;
// }

</style>